package cn.huiyunche.base.service.interfaces.query;

import javax.validation.constraints.DecimalMin;
import java.math.BigDecimal;

/**
 * @FileName: cn.huiyunche.driver.service.query
 * @Description: 车型分类列表查询条件
 * @author: Aaron
 * @date: 2017/3/2 下午8:24
 */
public class DVehicleClassifyQueryConditions {

    private String vehicleClassifyId;

    //车型分类名车
    private String vehicleClassifyName;

    //燃油类型主键
    private Integer fuelTypeId;

    //百公里油耗
    @DecimalMin(value = "0.01", message = "油耗不能小于0")
    private BigDecimal fuelConsumption;

    private Boolean enable;

    public String getVehicleClassifyId() {
        return vehicleClassifyId;
    }

    public void setVehicleClassifyId(String vehicleClassifyId) {
        this.vehicleClassifyId = vehicleClassifyId;
    }

    public String getVehicleClassifyName() {
        return vehicleClassifyName;
    }

    public void setVehicleClassifyName(String vehicleClassifyName) {
        this.vehicleClassifyName = vehicleClassifyName;
    }

    public Integer getFuelTypeId() {
        return fuelTypeId;
    }

    public void setFuelTypeId(Integer fuelTypeId) {
        this.fuelTypeId = fuelTypeId;
    }

    public BigDecimal getFuelConsumption() {
        return fuelConsumption;
    }

    public void setFuelConsumption(BigDecimal fuelConsumption) {
        this.fuelConsumption = fuelConsumption;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        return "DVehicleClassifyQueryConditions{" +
                "vehicleClassifyId=" + vehicleClassifyId +
                ", vehicleClassifyName='" + vehicleClassifyName + '\'' +
                ", fuelTypeId=" + fuelTypeId +
                ", fuelConsumption=" + fuelConsumption +
                ", enable=" + enable +
                '}';
    }
}
